
*------------------------------------------------------------------------------*
*	PIP ESTIMATES: European Union
*
*	This input file estimates the ASPM as discussed in "The Politics of
*	Environmental Performance" (Jahn 2016) and "Estimating the Position of the
*	European Union" (Jahn and Düpont 2015).
*
*	Please read the "Guide for Replicating the ASPM" for explanations.
*
*	Version:	1.0
*	Author:		Detlef Jahn & Nils Düpont
*				
*	Contact:	Detlef.Jahn@eui.eu
*				data@nilsduepont.net
*
	set more off
	macro drop _all
*------------------------------------------------------------------------------*


* 1. Decide, which idelogical index to use: ja10f = LR, ja20f = GG
*	 Available options: any ideological index variable included in the dataset
global ideology		"ja10f"


* 2. Name the main file, which will be saved
global save			"pip_eupos"


* 3. Name the outfile and the variable name containing the QUARTERLY government position.
*	 Make sure that government positions (GOV_POS) for all EU members are defined; otherwise the estimates will be distorted and the syntax may interrupt!
global govposdata	"pip_govpos_vp_quarterly"


* 4. Do you want to keep estimation files of each institution for visual inspection?
*	 Available options: keep, erase
global files		"erase"





* ------ EUROPEAN COUNCIL ----- *

* 5. In some countries the President instead of the PM participates in the European Council.
* 	 Do you want to override the PM's position with the President's one (no/country codes)?
global presoverpm	"FRA MLT"


* 6. According to which rule should the European Council be modeled?
*    Available options: mean, median, unanimity, power

global eu_council1	"power"					// "Luxembourg compromise", consultation (-1987q2)
global eu_council2	"power"					// Single European Act, cooperation (1987q3-1993q3)
global eu_council3	"power"					// Maastricht Treaty, co-decision I (1993q4-1999q1)
global eu_council4	"power"					// Amsterdam Treaty, co-decision II (19992q2-2009q4)
global eu_council5	"power"					// Lisbon Treaty, co-decision II with presidency trio (2010q1-)


* 6b. If you selected "power" somewhere in the previous step: which weight(s) of a PM's position do you want to apply?
*	  Available options: population, gdp, seniority, presidency1 or presidency2 (or any combination)
global pmweight		"population,gdp,seniority,presidency2"


* 6c. The Lisbon Treaty established the presidency trio; please specify power scores for the current and successive presidencies.
*	  Note that these scores are used for the Council of Ministers, too.
global rotprespower	"3:1:1"


* 7. Should the European Council be modeled as the principal of the Commission and the Council of Ministers?
*	 Available options: no, principal
global principal	"principal"





* ------ EUROPEAN COMMISSION ----- *

* 8. According to which rule should the European Commission be modeled?
*	 Available options: mean, median, unanimity, portfolio, bargaining

global commission1	"bargaining"			// "Luxembourg compromise", consultation (-1987q2)
global commission2	"bargaining"			// Single European Act, cooperation (1987q3-1993q3)
global commission3	"bargaining"			// Maastricht Treaty, co-decision I (1993q4-1999q1)
global commission4	"bargaining"			// Amsterdam Treaty, co-decision II (19992q2-2009q4)
global commission5	"bargaining"			// Lisbon Treaty, co-decision II with presidency trio (2010q1-)


* 8b. If you selected "portfolio" or "bargaining" somewhere in the previous step please specify the portfolio(s):
*	  Available options: any combination of up to five variables p631 to p648
*	  It is advisable to match the portfolios to those chosen for the national government model (i.e. variables p201 to 218)
global comm_portf	"p645,p643"





* ------ COUNCIL OF EUROPEAN UNION ----- *

* 9. According to which rule should the Council of Ministers be modeled?
*	 Available options: mean[_uw], median[_uw], unanimity, qmv1[_uw] or qmv2[_uw]

global council1		"unanimity"				// "Luxembourg compromise", consultation (-1987q2)
global council2		"qmv1_uw"				// Single European Act, cooperation (1987q3-1993q3)
global council3		"qmv1_uw"				// Maastricht Treaty, co-decision I (1993q4-1999q1)
global council4		"qmv1_uw"				// Amsterdam Treaty, co-decision II (19992q2-2009q4)
global council5		"qmv2_uw"				// Lisbon Treaty, co-decision II with presidency trio (2010q1-)





* ------ EUROPEAN PARLIAMENT ----- *

* 10. According to which rule should the European Parliament be modeled?
*	  Available options: mean[_uw], median[_uw], unanimity

global euparl1		"median"				// "Luxembourg compromise", consultation (-1987q2)
global euparl2		"median"				// Single European Act, cooperation (1987q3-1993q3)
global euparl3		"median"				// Maastricht Treaty, co-decision I (1993q4-1999q1)
global euparl4		"median"				// Amsterdam Treaty, co-decision II (19992q2-2009q4)
global euparl5		"median"				// Lisbon Treaty, co-decision II with presidency trio (2010q1-)





* ------ LEGISLATIVE PROCESS ----- *

* 11. Under the Single European Act a "common position" was negotiated by the Commission and the Council of Ministers.
*	  Please specify a power score for the Council (1st value) and the Commission (2nd value).
*	  A score of 1:1 equals the simple mean, any other score draws the position closer to the Council or the Commission, respectively.
global commonpos	"3:1"


* 12. Following the Amsterdam Treaty the conciliation committee comprising members of the Council of Ministers and the European
*	  Parliament negotiated the final position. Please specify a power score for the Council (1st value) and the Parliament (2nd value).
*	  A score of 1:1 equals the simple mean, any other score draws the position closer to the Council or the EP, respectively.
global codec2		"1:1"





*------------------------------------------------------------------------------*
* Run estimations -- Do not touch, unless you know why you are doing it...
do techdata/parse_input_eu.do
